package zxing.activity.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/********************
 *  Created by ：  lyq 
 *         Date：  2018\11\15 0015.
 * Introduction：   
 *********************/

public class BackgBean {
    public String name;
    public  String code;
    public   String imageurl;
    public String order;
    /**
     * data : [{"name":"爱的誓言","code":"lltpaxwr","imgurl":"http://pay.wm002.cn/res/img/lt/lltpxwr.png","order":99},{"name":"跳动的心","code":"axtd","imgurl":"http://pay.wm002.cn/res/img/lt/axtd.png","order":99},{"name":"狂乱的爱","code":"manpxx","imgurl":"http://pay.wm002.cn/res/img/lt/manpxx.png","order":99}]
     * issucc : true
     * msg :
     */

    private boolean issucc;
    private String msg;
    private List<DataBean> data;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public boolean isIssucc() {
        return issucc;
    }

    public void setIssucc(boolean issucc) {
        this.issucc = issucc;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {

        /**
         * name : 爱的誓言
         * code : lltpaxwr
         * imgurl : http://pay.wm002.cn/res/img/lt/lltpxwr.png
         * order : 99
         */

        @SerializedName("name")
        private String nameX;
        @SerializedName("code")
        private String codeX;
        private String imgurl;
        @SerializedName("order")
        private int orderX;

        @Override
        public String toString() {
            return "DataBean{" +
                    "nameX='" + nameX + '\'' +
                    ", codeX='" + codeX + '\'' +
                    ", imgurl='" + imgurl + '\'' +
                    ", orderX=" + orderX +
                    '}';
        }

        public String getNameX() {
            return nameX;
        }

        public void setNameX(String nameX) {
            this.nameX = nameX;
        }

        public String getCodeX() {
            return codeX;
        }

        public void setCodeX(String codeX) {
            this.codeX = codeX;
        }

        public String getImgurl() {
            return imgurl;
        }

        public void setImgurl(String imgurl) {
            this.imgurl = imgurl;
        }

        public int getOrderX() {
            return orderX;
        }

        public void setOrderX(int orderX) {
            this.orderX = orderX;
        }
    }
}
